package org.jeecg.modules.demo3.fly.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.demo3.fly.entity.assist.qun.AUser;

import java.util.List;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @Author scott
 * @since 2018-12-20
 */
public interface AUserMapper extends BaseMapper<AUser> {

	/**
	 * 根据手机号查询用户信息
	 * @param phone
	 * @return
	 */
	AUser getUserByPhone(@Param("phone") String phone);

	/*
	* 根据 用户id 查询用户
	* String uId
	* */
	AUser getAllAUser(String uId);

}
